<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/SMS.Entities.Report" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/SMS.Entities.Report" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/Service/ReportService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/SMS.Entities.BaseClasses" />
  <xs:complexType name="ArrayOfSaleReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SaleReport" nillable="true" type="tns:SaleReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSaleReport" nillable="true" type="tns:ArrayOfSaleReport" />
  <xs:complexType name="SaleReport">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/SMS.Entities.BaseClasses" base="q1:BaseEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="BilledAmount" type="xs:decimal" />
          <xs:element minOccurs="0" name="BuyingAmount" type="xs:decimal" />
          <xs:element minOccurs="0" name="Discount" type="xs:decimal" />
          <xs:element minOccurs="0" name="Margin" type="xs:decimal" />
          <xs:element minOccurs="0" name="Quantity" type="xs:int" />
          <xs:element minOccurs="0" name="SellingAmount" type="xs:decimal" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SaleReport" nillable="true" type="tns:SaleReport" />
  <xs:complexType name="ArrayOfProductSaleReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ProductSaleReport" nillable="true" type="tns:ProductSaleReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProductSaleReport" nillable="true" type="tns:ArrayOfProductSaleReport" />
  <xs:complexType name="ProductSaleReport">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/SMS.Entities.BaseClasses" base="q2:BaseEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="ProductName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TotalIncome" type="xs:decimal" />
          <xs:element minOccurs="0" name="TotalQuantity" type="xs:int" />
          <xs:element minOccurs="0" name="TotalSellingPrice" type="xs:decimal" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProductSaleReport" nillable="true" type="tns:ProductSaleReport" />
  <xs:complexType name="ArrayOfCustomerReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CustomerReport" nillable="true" type="tns:CustomerReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomerReport" nillable="true" type="tns:ArrayOfCustomerReport" />
  <xs:complexType name="CustomerReport">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/SMS.Entities.BaseClasses" base="q3:BaseEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustomerName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TotalIncome" type="xs:decimal" />
          <xs:element minOccurs="0" name="TotalSellingPrice" type="xs:decimal" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CustomerReport" nillable="true" type="tns:CustomerReport" />
  <xs:complexType name="ArrayOfNewCustomerReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="NewCustomerReport" nillable="true" type="tns:NewCustomerReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfNewCustomerReport" nillable="true" type="tns:ArrayOfNewCustomerReport" />
  <xs:complexType name="NewCustomerReport">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/SMS.Entities.BaseClasses" base="q4:BaseEntity">
        <xs:sequence>
          <xs:element minOccurs="0" name="TotalNew" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="NewCustomerReport" nillable="true" type="tns:NewCustomerReport" />
</xs:schema>